<div class="division">
   <h4><{t}>普通商品<{/t}></h4>
      <table width="100%" class="gridlist" border="0" cellspacing="0" cellpadding="0">
        <thead>
        <tr>
          <th><{t}>销售物料编码<{/t}></th>
          <th><{t}>销售物料名称<{/t}></th>
          <th><{t}>规格<{/t}></th>
          <th><{t}>单位<{/t}></th>
          <{if $is_consign}>
            <th><{t}>代销价<{/t}></th>
          <{/if}>
          <th><{t}>原价<{/t}></th>
          <th><{t}>销售价<{/t}></th>
          <th><{t}>优惠额<{/t}></th>
          <th><{t}>购买量<{/t}></th>          <th><{t}>已发货量<{/t}></th>
          <th><{t}>已退货量<{/t}></th>
        </tr>
      </thead>
      <tbody>
        <{foreach from=$objs item=obj}>
        <{if $obj.order_items|@count > 1}>
      <tr class="ColColorGray" id="tr_<{$obj.obj_id}>" oid="<{$obj.obj_id}>" <{if $item.delete == 'true'}>style="background-color: #DBDBDB;" g-del="b"<{else}>g-del="a"<{/if}>>
        <td><{$obj.bn}></td>
        <td><{t}><{$obj.name}><{/t}></td>
        <td><{t}>商品<{/t}></td>
        <td><{t}>单位<{/t}></td>
        <{if $is_consign}>
          <td>-</td>
        <{/if}>
        <td>-</td>
        <td>-</td>
        <td>-</td>
        <td>-</td>
        <td></td>
        <td>&nbsp;</td>
      </tr>
      <{/if}>
      <{foreach from=$obj.order_items item=item}>
      <tr <{if $item.delete == 'true'}>style="background-color: rgb(216, 216, 216);"<{/if}> >
        <td class="item_bn <{$item.item_type}>class">
          <span class="number"><{$item.bn}></span>
        <td><{t}><{$item.name}><{/t}></td>
        <td><{t}><{$item.addon}><{/t}></td>
        <td><{t}><{$item.unit}><{/t}></td>
        <{if $is_consign}>
        <td><{$item.buyer_payment}></td>
        <{/if}>
        <td><{$item.price|cur}></td>
        <td><{$item.sale_price/$item.quantity|cur}></td>
        <td><{$item.pmt_price/$item.quantity|cur}></td>
        <td><{$item.quantity}></td>        <td><{$item.sendnum}></td>
        <td><{$item.return_num}></td>
      </tr>
      <{/foreach}>
      <{/foreach}>
      </tbody>
     </table>
</div>